package com.guojian.common.json;

import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.TypeReference;

public class TypeBuilder<T> {

	public TypeReference<T> create() {
		return new TypeReference<T>() {
		};
	}

	public Type createType() {
		return new TypeReference<T>() {
		}.getType();
	}

	public static void main(String[] args) {

		TypeBuilder<List<Map<String, String>>> build = new TypeBuilder<List<Map<String, String>>>();

		System.out.println(build);

		TypeReference<List<Map<String, String>>> typer = build.create();

		System.out.println(typer);
	}

}
